<template>
    <div class="status-menu">
        <div class="title">
            <div class="title-font">{{ $t('components.find.632uiql5q780') }}</div>
        </div>
        <div class="info">
            <div class="info-content">
                <div class="info-content-item">
                    <div class="info-content-item-title">
                        <div class="img-bg img-bg1"></div>
                        <div class="text">{{ $t('components.find.632uiql5qpg0') }}</div>
                    </div>
                    <div class="data">
                        <div>{{ detail.find.uavNum ? detail.find.uavNum : 0 }}</div>
                    </div>
                </div>
                <div class="info-content-item">
                    <div class="info-content-item-title">
                        <div class="img-bg img-bg2"></div>
                        <div class="text">{{ $t('components.find.632uiql5qnc0') }}</div>
                    </div>
                    <div class="data">
                        <div>{{ detail.find.operatorNum ? detail.find.operatorNum : 0 }}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script lang='ts' setup>
//无人机列表（父传子：接收）
const detail:any = defineModel('detail', { default: {} })
</script>
<style scoped lang="less">
.status-menu {
    // width: 100%;
    // margin: 10px 20px;
    // height: 457px;
    width: 300px;

    .title {
        width: 100%;
        height: 59px;
        background-image: url('@/assets/images/index-menue-title.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;

        .title-font {
            margin-left: 10px;
            font-family: YouSheBiaoTiHei;
            opacity: 1;
            /** 文本1 */
            font-size: 24px;
            font-weight: 500;
            letter-spacing: 0.48px;
            line-height: 24px;
            vertical-align: middle;
            background-image: -webkit-linear-gradient(bottom, rgb(153 218 252), #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }



        .delete {
            width: 35px;
            cursor: pointer;
            font-weight: 600;
            color: rgba(75, 127, 239, 1);
        }
    }

    .info {
        width: 100%;
        // height: 411px;
        border: 1px solid rgba(46, 116, 255, 0.8);
        background: rgba(15, 19, 41, 0.85);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;

        .info-content {
            padding: 10px;

            .info-content-item {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .info-content-item-title {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;

                    >.img-bg {
                        width: 55px;
                        height: 55px;
                        background-size: cover;
                        background-repeat: no-repeat;
                        background-position: center;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }

                    >.img-bg1 {
                        background-image: url('@/assets/images/find-wanzhou1.png');
                    }

                    >.img-bg2 {
                        background-image: url('@/assets/images/find-wanzhou2.png');
                    }

                    >.text {
                        color: #2EE7FF;
                        font-size: 14px;
                        font-weight: 700;
                    }
                }

                .data {
                    width: 183px;
                    height: 58.82px;
                    background-image: url('@/assets/images/find-wanzhouBg.png');
                    background-size: cover;
                    background-repeat: no-repeat;
                    background-position: center;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    >div {
                        width: 235px;
                        height: 75.82px;
                        font-size: 30px;
                        font-weight: 700;
                        letter-spacing: 0px;
                        line-height: 75.82px;
                        color: rgba(255, 255, 255, 1);
                        text-align: center;
                        vertical-align: top;
                        // text-align: right;
                        // padding-right: 20px;
                    }
                }
            }

            .info-content-item:first-child {
                margin-bottom: 10px;
            }
        }

    }
}
</style>